package com.psg.service;

import com.psg.pojo.Address;

import java.util.List;

public interface AddressService {
    void save(Address address);

    List<Address> findAllAddressByUserId(Integer userId);

    void update(Address address);

    Address findAddressById(int addressId);

    void changeDefault(int id, Integer userId);

}
